home *** CD-ROM | disk | FTP | other *** search
- -- card: 12374 from stack: in
- -- bmap block id: 12623
- -- flags: 0000
- -- background id: 2801
- -- name: feedbck
- ----- HyperTalk script -----
- on opencard
- global silver,mercury,lead,silvera,mercurya,leada,score,time1,time2
- put empty into card field "time"
- if silvera = "silver" then set the highlight of card button "Silver" to true
- if mercurya = "Mercury" then set the highlight of card button "Mercury" to true
- if leada = "lead" then set the highlight of card button "lead" to true
- if silver = silvera then put "correct" into card field "silver"
- if mercury = mercurya then put "correct" into card field "mercury"
- if lead = leada then put "correct" into card field "lead"
- if silver <> silvera then put "incorrect" into card field "silver"
- if mercury <> mercurya then put "incorrect" into card field "mercury"
- if lead <> leada then put incorrect into card field "lead"
- put time2-time1 into secCt
- if secCt > 0 then
- put "You used " & secCt & " Seconds to run the Unknown" into card field "time"
- end if
-
- end opencard
-
-
- on closeCard
- put empty into card field "silver"
- put empty into card field "mercury"
- put empty into card field "lead"
- set the highlight of card button "silver" to false
- set the highlight of card button "mercury" to false
- set the highlight of card button "lead" to false
- end closeCard
-
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=321 top=54 right=132 bottom=399
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Lead
- ----- HyperTalk script -----
- on mouseUp
-
- end mouseUp
-
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=220 top=54 right=132 bottom=298
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Mercury
- ----- HyperTalk script -----
- on mouseUp
-
- end mouseUp
-
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=119 top=54 right=132 bottom=197
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Silver
- ----- HyperTalk script -----
- on mouseUp
-
- end mouseUp
-
-
-
- -- part 6 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=115 top=139 right=162 bottom=200
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: silver
-
-
- -- part 7 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=216 top=139 right=162 bottom=301
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: Mercury
-
-
- -- part 8 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=317 top=139 right=162 bottom=402
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: lead
-
-
- -- part 9 (field)
- -- low flags: 01
- -- high flags: 0004
- -- rect: left=59 top=166 right=200 bottom=447
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: time
-
-
- -- part 10 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=399 top=297 right=339 bottom=507
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Quit
- ----- HyperTalk script -----
- on mouseUp
- answer "Go Home?" with "yes" or "Cancel"
- if it is "Yes" then go Home
- end mouseUp
-
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=5 top=296 right=339 bottom=125
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Return to Menu
- ----- HyperTalk script -----
- on mouseUp
- global time1,time2
- answer "Go to Main Menu?" with "no" or "Yes"
- if it is "Yes" then
- put 0 into time1
- put 0 into time2
-
- go card "Menu"
- end if
- end mouseUp
-
-
-
- -- part 12 (field)
- -- low flags: 80
- -- high flags: 0000
- -- rect: left=135 top=207 right=239 bottom=260
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: s
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=177 top=297 right=339 bottom=323
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: ReDo Unkown
- ----- HyperTalk script -----
- on mouseUp
- answer "Go Back to Re-Test Unknown?" with "Yes" or "Cancel"
- if it is "yes" then go card "begin Random"
- end mouseUp
-
-
-
- -- part contents for card part 12
- ----- text -----
- none
- none
-
- -- part contents for card part 9
- ----- text -----
- You used 98 Seconds to run the Unknown